﻿using System;
using Sherwood.Content.UpdateServices.Solr;
using SolrNet.Attributes;

namespace Sherwood.Samples.ArticleMeta
{
    public class ArticleSearchDocument : SolrDocument
    {
        [SolrField("body")]
        public string Body { get; set; }

        [SolrField("publish_date")]
        public DateTime? PublishDate { get; set; }

        [SolrField("author")]
        public string Author { get; set; }   
    }
}